package com.ruoyi.project.declaration.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 文件对象 files
 * 
 * @author Daniel
 * @date 2020-03-26
 */
public class Files extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件id */
    @Excel(name = "文件id")
    private Long fId;

    /** 工程/政策id */
    private Long fSourceId;

    /** 工程/政策名称 */
    @Excel(name = "工程/政策名称")
    private String fSourceName;

    /** 文件类型：1工程 2政策 3：方案与大纲 */
    @Excel(name = "文件类型：1工程 2政策 3：方案与大纲")
    private Long fType;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String fPath;

    /** 文件下载次数 */
    @Excel(name = "文件下载次数")
    private Long fDowloads;

    public void setfId(Long fId) 
    {
        this.fId = fId;
    }

    public Long getfId() 
    {
        return fId;
    }
    public void setfSourceId(Long fSourceId) 
    {
        this.fSourceId = fSourceId;
    }

    public Long getfSourceId() 
    {
        return fSourceId;
    }
    public void setfSourceName(String fSourceName) 
    {
        this.fSourceName = fSourceName;
    }

    public String getfSourceName() 
    {
        return fSourceName;
    }
    public void setfType(Long fType) 
    {
        this.fType = fType;
    }

    public Long getfType() 
    {
        return fType;
    }
    public void setfName(String fName) 
    {
        this.fName = fName;
    }

    public String getfName() 
    {
        return fName;
    }
    public void setfPath(String fPath) 
    {
        this.fPath = fPath;
    }

    public String getfPath() 
    {
        return fPath;
    }
    public void setfDowloads(Long fDowloads) 
    {
        this.fDowloads = fDowloads;
    }

    public Long getfDowloads() 
    {
        return fDowloads;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fId", getfId())
            .append("fSourceId", getfSourceId())
            .append("fSourceName", getfSourceName())
            .append("fType", getfType())
            .append("fName", getfName())
            .append("fPath", getfPath())
            .append("fDowloads", getfDowloads())
            .toString();
    }
}
